package sale.wxb.loveshopping.entity.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import sale.wxb.loveshopping.entity.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 王小宝
 * @since 2023-03-30
 */
@Getter
@Setter
  @TableName("sys_user")
@ApiModel(value = "SysUser", description = "")
public class SysUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("用户账号-该值唯一 即使逻辑删除后也要查找该值")
      private String account;

      @ApiModelProperty("用户密码")
      private String password;

      @ApiModelProperty("姓名")
      private String username;

      @ApiModelProperty("昵称")
      private String nickname;

      @ApiModelProperty("年龄")
      private Short age;

      @ApiModelProperty("性别 0 未知 1 男 2 女 默认0")
      private Byte sex;

      @ApiModelProperty("头像")
      private String avatar;

      @ApiModelProperty("手机号")
      private String phone;

      @ApiModelProperty("邮箱")
      private String email;

      @ApiModelProperty("最后一次登录IP")
      private String lastLoginIp;

      @ApiModelProperty("是否启用 1 启用 0 禁用 默认 1")
      private Boolean enabled;


}
